<!DOCTYPE html>
<html lang="en" ng-app="">
<head>
    <meta charset="UTF-8">
    <title>ng-repeat</title>
    <script src="js/angular-1.3.0.js"></script>
</head>
<body>
    <h3>以列表的方式显示绑定多项数据</h3>
    <div ng-controller="contr">
        <ul>
            <li ng-repeat="stu in data">
                <span>{{stu.name}}</span>
                <span>{{stu.sex}}</span>
                <span>{{stu.age}}</span>
                <span>{{stu.score}}</span>
            </li>
        </ul>
    </div>
    <script tyte="text/javascript">
        function contr($scope){
            $scope.data = [
                {name:"JJ",sex:"男",age:26,score:100},
                {name:"JJ",sex:"男",age:26,score:100},
                {name:"JJ",sex:"男",age:26,score:100},
                {name:"JJ",sex:"男",age:26,score:100}
            ];
        }
    </script>
</body>
</html>